//
//  XXADView.m
//  XX
//
//  Created by lly on 15/5/26.
//  Copyright (c) 2015年 lly. All rights reserved.
//

#import "XXADView.h"
#import "AppMacro.h"
#import "UIViewExt.h"

@implementation XXADView

- (void)awakeFromNib
{
    [super awakeFromNib];
    
}

- (void)layoutSubviews
{
    [super layoutSubviews];
    self.adScroll.frame = CGRectMake(0, 0, SCREEN_WIDTH, SCREEN_WIDTH / 320 * 160);
    self.adScroll.contentSize = CGSizeMake(SCREEN_WIDTH * 3, self.adScroll.height);
}

@end
